#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int d = 0;
    int max = 0;
    int i = 3;
    while (i != 0)
    {
        scanf("%d", &d);
        if (max < d)
        {
            max = d;
        }
        i--;
    }
    printf("%d", max);
    return 0;
}